package com.zcah.file.dao;

import com.zcah.file.domain.FileDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-07-06 15:19:12
 */
@Mapper
public interface FileDao {

	FileDO get(Integer fileId);
	
	List<FileDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(FileDO file);
	
	int update(FileDO file);
	
	int remove(Integer file_id);
	
	int batchRemove(Integer[] fileIds);
}
